<script src="../../node_modules/axios/dist/axios.js"></script>
<script src="./api.js"></script>

<script>
    let model = {
        name: "user",
        structure: {
            username: { //型号
                type: 'string',
                nullable: false,
            },
            password:{
                type:'string',
                nullable:false,
            },
            real_name:{
                type:'string',
                nullable:false
            }
        }
    }

    api("MODEL/CREATE", model)

    // api("MODEL/FIND", { name: 'brand' })

    // api("MODEL/DELETE", { name: 'brand' })
</script>